package com.hzsoft.sys.service.impl;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hzsoft.sys.entity.TblTestParameter;
import com.hzsoft.sys.mapper.TblTestParameterMapper;
import com.hzsoft.sys.service.TblTestParameterService;

@Transactional
@Service("testParameterService")
public class TblTestParameterServiceImpl implements TblTestParameterService{

	private TblTestParameterMapper tblTestParameterMapper;
	
	public TblTestParameterMapper getTblTestParameterMapper() {
		return tblTestParameterMapper;
	}
	@Autowired
	public void setTblTestParameterMapper(
			TblTestParameterMapper tblTestParameterMapper) {
		this.tblTestParameterMapper = tblTestParameterMapper;
	}

	public int deleteByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return tblTestParameterMapper.deleteByPrimaryKey(id);
	}

	public int insert(TblTestParameter record) {
		// TODO Auto-generated method stub
		return tblTestParameterMapper.insert(record);
	}

	public int insertSelective(TblTestParameter record) {
		// TODO Auto-generated method stub
		return tblTestParameterMapper.insertSelective(record);
	}

	public TblTestParameter selectByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return tblTestParameterMapper.selectByPrimaryKey(id);
	}

	public int updateByPrimaryKeySelective(TblTestParameter record) {
		// TODO Auto-generated method stub
		return tblTestParameterMapper.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(TblTestParameter record) {
		// TODO Auto-generated method stub
		return tblTestParameterMapper.updateByPrimaryKey(record);
	}
	public List<TblTestParameter> listPagePar(TblTestParameter par) {
		// TODO Auto-generated method stub
		return tblTestParameterMapper.listPagePar(par);
	}
	public List<TblTestParameter> listPageTest(TblTestParameter test) {
		// TODO Auto-generated method stub
		return tblTestParameterMapper.listPageTest(test);
	}

}
